package com.example.yls.demoa;

/**
 * Created by yls on 2018/10/13.
 */

public class Student {
    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public int getHeadId() {
        return headId;
    }

    public int getNo() { return no; }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setHeadId(int headId) {
        this.headId = headId;
    }

    public void setNo(int no) { this.no = no; }

    private String name;
    private int age;
    private int headId;
    private int no;


    public Student(String name,int age, int headId,int no){
        this.name = name;
        this.age = age;
        this.headId = headId;
        this.no = no;
    }


}
